package com.dg.gdx.screens;

import com.badlogic.gdx.Game;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.Screen;

public abstract class AbstractScreen implements Screen {

	private Game game;
	
	public AbstractScreen(Game game) {
		this.setGame(game);
	}
	
	@Override
	public void resize(int width, int height) {
		Gdx.app.log(getClass().getSimpleName(), "Resize (" + width + "," + + height + ")");
	}

	@Override
	public void show() {
		Gdx.app.log(getClass().getSimpleName(), "Show");
	}

	@Override
	public void hide() {
		Gdx.app.log(getClass().getSimpleName(), "Hide");
	}

	@Override
	public void pause() {
		Gdx.app.log(getClass().getSimpleName(), "Pause");
	}

	@Override
	public void resume() {
		Gdx.app.log(getClass().getSimpleName(), "Resume");
	}

	@Override
	public void dispose() {
		Gdx.app.log(getClass().getSimpleName(), "Dispose");
	}

	public Game getGame() {
		return game;
	}

	public void setGame(Game game) {
		this.game = game;
	}

}
